package com.chance.cc.crawler.prod.command.script.news.sina.carSeriesCrawler;

import com.chance.cc.crawler.core.downloader.HttpPage;
import com.chance.cc.crawler.development.command.script.ScriptCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.sina.module.SinaCarSeriesArticleCrawlerScheduleJob;

public class SinaCarSeriesCrawlerScript {
    private static ScriptCommand scriptCommand = new ScriptCommand("192.168.1.217",9599);

    public static void publishSinaCarSeriesArticleURLCrawlerNodeScript(){//新浪文章
        HttpPage page = scriptCommand.publishCrawlerScript2Consul(SinaCarSeriesArticleCrawlerScheduleJob.domain);
        System.out.println("发布采集脚本：" + page.getRawText());
    }

    public static void main(String[] args) {
        publishSinaCarSeriesArticleURLCrawlerNodeScript();//新浪文章
    }
}
